package com.itheima.define;

public class ArrayDemo2 {
    public static void main(String[] args) {
        int[] arr = new int[3];
        System.out.println(arr[0]);
        System.out.println(arr[1]);
        System.out.println(arr[2]);

        char[] arr2 = new char[3];
        System.out.println((int) arr2[0]);
        System.out.println((int) arr2[1]);
        System.out.println((int) arr2[2]);

        double[] arr3 = new double[3];
        System.out.println(arr3[0]);
        System.out.println(arr3[1]);
        System.out.println(arr3[2]);

        boolean[] arr4 = new boolean[3];
        System.out.println(arr4[0]);
        System.out.println(arr4[1]);
        System.out.println(arr4[2]);

        String[] arr5 = new String[3];
        System.out.println(arr5[0]);
        System.out.println(arr5[1]);
        System.out.println(arr5[2]);
    }
}
